* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

body { background-color: #f4f7f6; color: #333; line-height: 1.6; }


nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 10%; background: #fff; position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo { font-size: 1.5rem; font-weight: bold; }
.logo span { color: #007bff; }
nav ul { display: flex; list-style: none; gap: 20px; }
nav ul li a { text-decoration: none; color: #333; transition: 0.3s; }
nav ul li a:hover { color: #007bff; }

.hero {
    height: 70vh; display: flex; align-items: center; justify-content: center;
    text-align: center; background: linear-gradient(135deg, #007bff, #6610f2); color: white;
}
.hero h1 span { display: block; font-size: 3rem; }


.btn-primary {
    display: inline-block; margin-top: 25px; padding: 12px 30px;
    background-color: #ff5733;
    color: white; text-decoration: none; border-radius: 50px;
    font-weight: bold; transition: all 0.3s ease; 
}
.btn-primary:hover {
    background-color: #e64a19; 
    transform: scale(1.1); 
}


.section-title { text-align: center; margin: 40px 0; position: relative; padding-bottom: 10px; }
.section-title::before {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 50px; height: 4px; background: #007bff;
}


.skills { padding: 60px 10%; }
.skills-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.skill-card {
    background: white; padding: 25px 50px; border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: 0.3s; 
}
.skill-card:hover { transform: translateY(-10px) rotate(3deg); }


.portfolio { padding: 60px 10%; background: #eef2f3; }
.grid-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
}
.grid-item {
    background: #333; color: white; height: 150px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.5s; 
}
.grid-item:hover { background: #007bff; } 

.contact { padding: 60px 10%; }
.form-wrapper { max-width: 500px; margin: auto; background: white; padding: 30px; border-radius: 10px; }
.input-group { margin-bottom: 15px; }
.input-group label { display: block; margin-bottom: 5px; }
.input-group input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; }
.btn-submit { width: 100%; padding: 12px; background: #007bff; color: white; border: none; cursor: pointer; border-radius: 5px; font-weight: bold; }

footer { text-align: center; padding: 30px; background: #222; color: white; }